package com.twu.biblioteca;

/**
 * Created by malliks on 01/03/14.
 */
public class Movie
{
    public String getName() {
        return name;
    }

    public String getYear() {
        return year;
    }

    public String getDirector() {
        return director;
    }

    private  String name;
    private  String year;
    private  String director;

    public int getRating() {
        return rating;
    }

    private  int rating;


    public  Movie(String name,String year,String director,int rating)
    {

        this.name = name;
        this.year = year;
        this.director = director;
        this.rating=rating;
    }

}
